package com.ruoyi.kiku.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 关系中心对象 kiku_relationship
 *
 * @author TT
 * @date 2025-04-02
 */
public class KikuRelationship extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 社交对象姓名 */
    @Excel(name = "社交对象姓名")
    private String socialName;

    /** 社交对象关系 */
    @Excel(name = "社交对象关系"  ,dictType = "kiku_relationship_type")
    private Integer socialRelationship;

    /** 社交对象简介 */
    @Excel(name = "社交对象简介")
    private String socialProfile;

    /** 社交对象职业 */
    @Excel(name = "社交对象职业")
    private String socialOccupation;

    /** 社交对象出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "社交对象出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date socialBirthdate;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setSocialName(String socialName)
    {
        this.socialName = socialName;
    }

    public String getSocialName()
    {
        return socialName;
    }
    public void setSocialRelationship(Integer socialRelationship)
    {
        this.socialRelationship = socialRelationship;
    }

    public Integer getSocialRelationship()
    {
        return socialRelationship;
    }
    public void setSocialProfile(String socialProfile)
    {
        this.socialProfile = socialProfile;
    }

    public String getSocialProfile()
    {
        return socialProfile;
    }
    public void setSocialOccupation(String socialOccupation)
    {
        this.socialOccupation = socialOccupation;
    }

    public String getSocialOccupation()
    {
        return socialOccupation;
    }
    public void setSocialBirthdate(Date socialBirthdate)
    {
        this.socialBirthdate = socialBirthdate;
    }

    public Date getSocialBirthdate()
    {
        return socialBirthdate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("socialName", getSocialName())
            .append("socialRelationship", getSocialRelationship())
            .append("socialProfile", getSocialProfile())
            .append("socialOccupation", getSocialOccupation())
            .append("socialBirthdate", getSocialBirthdate())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
